package com.example.news.service;

import com.example.news.pojo.entity.SearchRecords;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.news.pojo.form.BasePageQuery;
import com.example.news.pojo.vo.SearchArticleVo;
import com.example.news.pojo.vo.SearchRecordVo;
import com.example.news.utils.result.PageResult;

/**
* @author 86147
* @description 针对表【search_records】的数据库操作Service
* @createDate 2023-10-23 09:33:10
*/
public interface SearchService extends IService<SearchRecords> {
    PageResult<SearchRecordVo> getSearchRecords(BasePageQuery basePageQuery,String token);

    PageResult<SearchArticleVo> getSearchArticle(BasePageQuery basePageQuery, String searchKey, String token);
}
